home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / bbs / fnos16a5.zip / HELP.ZIP / TCP < prev    next >
Text File  |  1996-07-27  |  8KB  |  186 lines

  1.  
  2. tcp <subcommand>
  3.  
  4.      These commands are used for the Transmission Control Protocol
  5. service. All TCP parameters are configurable per interface.  Commands
  6. of the form 'tcp <command>' set the default or global values.  Use
  7. the 'ifconfig <iface> tcp <command>' form to set or show the interface-
  8. specific values.
  9.  
  10.      To set the system default TCP parameters, you must do so BEFORE
  11. attaching interfaces.  After attachment, you must use the 'ifconfig
  12. <iface> tcp' command form to show or change values for that interface.
  13. THIS IS A CHANGE FROM THE BEHAVIOUR EXHIBITED PRIOR TO JNOS VERSION
  14. 1.10X16, RELEASED 08FEB94.
  15.  
  16.  
  17.      Notes:
  18.  
  19.      Attempting outgoing connections to addresses without an
  20.      existing route results in Error number 219.
  21.  
  22.  
  23.     tcp access <permit|deny|delete> <ipaddr[/bits]|all> [loport [hiport]]
  24.  
  25.      Display or set tcp access controls, which determine which TCP services
  26.      (ports) are accessible to which IP addresses. Default is to permit
  27.      all hosts to access all ports, until the first TCP access command is
  28.      entered, at which point all other ports and addresses are denied
  29.      unless specifically permitted by subsequent tcp access commands.
  30.  
  31.      This subcommand adds or deletes an access control entry maintained
  32.      in an internal table.  Entries are scanned in the order that they
  33.      were added, to determine if access will be granted. Access is granted
  34.      only if an entry with matching ipaddr or range, and ports, is found
  35.      with "permit" set before a match with "deny" or no match is found.
  36.      The optional /bits suffix to the ipaddr specifies how many leading
  37.      bits in the ipaddr are to be considered significant in the address
  38.      comparisons.  If not specified, 32 bits (i.e., full significance)
  39.      is assumed. All addresses can be specified by "all". Loport and
  40.      hiport specify the port or range of TCP ports for which the access
  41.      control command applies. If "all" is given as the loport, or if no
  42.      port range is specified, all ports are assumed, ie, 1 to 65534.
  43.  
  44.      "tcp access" will display the table of current access control entrys.
  45.      Access commands should be entered from the most specific ipaddr to the
  46.      least specific, since the first match (permit or deny) encountered
  47.      in the internal table is returned.
  48.  
  49.      #Example:
  50.          #Allow a specific AMPRnet host SMTP access
  51.          tcp access permit 44.76.1.199 25
  52.          #but deny all other services to him
  53.          tcp access deny 44.76.1.199
  54.          #Allow all other AMPRnet hosts full access to TCP services
  55.          tcp access permit 44.76.1/24 all
  56.  
  57.          #Allow a specific subnet access to ports 1 through 25,
  58.          #which includes echo, discard, ftp, telnet, and smtp.
  59.          tcp access permit 23.1.46/24 1 25
  60.          #Note that all other hosts not matched above, are denied access
  61.  
  62.  
  63.     tcp blimit [<value>]                           Default: 31
  64.  
  65.      Display or set the default tcp retransmission backoff limit.
  66.      Normally each successive tcp retransmission is delayed a time
  67.      value that increases exponentially or linearly.  The backoff
  68.      limit <value> serves to set the maximum backoff delay allowed.
  69.      See also tcp timertype and tcp maxwait.
  70.      
  71.  
  72.     tcp clean
  73.  
  74.      Reset all tcp connections that are in a "FIN wait 2" state.  This
  75.      is useful to release memory resources held by Jnos for connections
  76.      that were not properly closed.
  77.  
  78.  
  79.     tcp irtt [<milliseconds>]
  80.  
  81.      (B)  Display or set the initial round trip time estimate, in
  82.      milliseconds, to be used  for new TCP connections until they can
  83.      measure and adapt to the actual value.  The default is 5000
  84.      milliseconds (5 seconds).  Increasing irtt when operating over
  85.      slow  channels will avoid the flurry of re-transmissions that
  86.      would otherwise occur as the smoothed estimate settles down at
  87.      the correct value.  Note that this command should be given before
  88.      servers are started in order for it to have effect on incoming
  89.      connections.
  90.      
  91.      TCP also keeps a cache of measured round trip times and mean
  92.      deviations (MDEV) for current and recent destinations.  Whenever
  93.      a new TCP connection is opened, the system first looks in this
  94.      cache.  If the destination is found, the cached IRTT and MDEV
  95.      values are used. If not, the default IRTT value mentioned above
  96.      is used, along with a MDEV of 0.  This feature is fully
  97.      automatic, and it can improve performance greatly when a series
  98.      of connections are opened and closed to a given destination (e.g.
  99.      a series of FTP  file transfers or directory listings).
  100.  
  101.  
  102.     tcp kick <tcb_addr>
  103.  
  104.      If there is unacknowledged data on the send queue of the
  105.      specified TCB, this command forces an immediate retransmission.
  106.      <tcb addr> can be found with the 'tcp status' command.
  107.      
  108.  
  109.     tcp maxwait [<msec>]
  110.  
  111.      Set or show the maximum time for retry timeout in milliseconds.
  112.      Default = 0, no maximum.
  113.      
  114.      
  115.     tcp mss [<size>]
  116.  
  117.      (B)  Display or set the TCP Maximum Segment Size in bytes that
  118.      will be sent on all outgoing TCP connect request (SYN segments).
  119.      This tells the remote end the size of the largest segment
  120.      (packet) it may send.  Changing MSS affects only future
  121.      connections; existing connections are unaffected.  See also the
  122.      section 'Of PACLEN, MTU, MSS, and More' in the JNOS40
  123.      Configuration Manual.
  124.      
  125.  
  126.     tcp reset <tcb_addr>
  127.  
  128.      Deletes the TCP control block at the specified address.
  129.      
  130.  
  131.     tcp retries [<num>]
  132.  
  133.      (B)  Display or set the number of retries before a tcp connection
  134.      will be reset. Default is 10. This is useful to eliminate idle
  135.      connections that have not been properly shut down. If set to zero,
  136.      there is no maximum, i.e. a connection will never retry out.
  137.      
  138.  
  139.     tcp rtt <tcb_addr> <milliseconds>
  140.  
  141.      Replaces the automatically computed round trip time in the
  142.      specified TCB with the rtt in milliseconds.  This command is
  143.      useful to speed up recovery from a series of lost packets since
  144.      it provides a manual bypass  around the normal backoff
  145.      retransmission timing mechanisms.
  146.      
  147.  
  148.     tcp status [<tcb_addr> | all]
  149.  
  150.      Without arguments, displays several TCP-level statistics, plus a
  151.      summary  of all  existing  TCP connections, including TCB
  152.      address, send and receive queue sizes, local and remote sockets,
  153.      and connection state. If <tcb addr> is  specified,  a more
  154.      detailed dump of the specified TCB is generated, including send
  155.      and receive sequence numbers and timer information.  If "all" is
  156.      given, the summary will also include TCBs in a listening state
  157.      (awaiting a connection).  In this case, a (S) will indicate that
  158.      a server process is to be spawned when a connection occurs.
  159.  
  160.  
  161.     tcp syndata [yes | NO]
  162.  
  163.      (B)  Display or set the tcp syn + data piggybacking flag. Some
  164.      tcp systems cannot handle syn + data together.
  165.      
  166.  
  167.     tcp timertype [linear | exponential]
  168.  
  169.      (B)  Display the current setting or set the timer type backoff
  170.      algorithm.  Default is linear.
  171.      
  172.  
  173.     tcp trace [yes | NO]
  174.  
  175.      (B)  Display or set the tcp trace flag on or off.
  176.      
  177.  
  178.     tcp window [<size>]
  179.  
  180.      (B)  Displays or sets the default receive window size in bytes to
  181.      be used  by  TCP when creating new connections. Existing
  182.      connections are unaffected.
  183.      
  184.  
  185.  
  186.